package cn.zn.modules.zzsys.his.entity;

import lombok.Data;
import org.mongodb.morphia.annotations.Entity;
import org.springframework.data.mongodb.core.mapping.Document;
import org.springframework.data.mongodb.core.mapping.Field;

@Data
@Entity
@Document(collection = "basis_dept")
public class BasisDept {
    @Field("dept_id")
    private String deptId;
    @Field("sort_num")
    private Integer sortNum;
    @Field("code")
    private String code;
    @Field("desc")
    private String desc;
    @Field("is_leaf")
    private Boolean isLeaf;
    @Field("name")
    private String name;
    @Field("pid")
    private String pid;
    @Field("ap")
    private Integer ap;
}
